home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / machack / Hacks97 / WarriorsProgress.sit / Warrior’s Progress / source code / Source / Libraries / Errors / ElementNotFound.h < prev    next >
Text File  |  1997-06-28  |  313b  |  25 lines

  1. // ElementNotFound.h
  2.  
  3. #ifndef ElementNotFound_h
  4. #define ElementNotFound_h
  5.  
  6. class ElementNotFound
  7.   {
  8.   };
  9.  
  10. template < class Key >
  11. class ElementNotFoundAt
  12.   {
  13.     private:
  14.         Key where;
  15.     
  16.     public:
  17.         ElementNotFoundAt( const Key& k )
  18.           : where( k )
  19.           {}
  20.         
  21.         const Key& Where() const    { return where; }
  22.   };
  23.  
  24. #endif
  25.